<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Class bmqpi::HostHealthMonitor</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="bdedox.css" rel="stylesheet" type="text/css"/>
    <style>
      div.hanging {
        padding-left: 0.75in;
        text-indent: -0.50in;
      }
      div.unhanging {
        text-indent:     0in;
      }
      a.glossary {
        font-weight: bold;
        font-style: italic;
      }
    </style>
</head>
<!--
<body onload='searchBox.OnSelectItem(0);'>
-->
<body>

<table border=2 cellspacing=0 cellpadding=0 align=center>
<tr>
 <td valign=top align=center>
 <p align=center><b><i>Quick Links:</i></b></p>
 </td>
 <td valign=top align=center>
 <p align=center>
<a class="qindex" href="group__bmqa.html" target="_blank">bmqa</a> | <a class="qindex" href="group__bmqpi.html" target="_blank">bmqpi</a> | <a class="qindex" href="group__bmqt.html" target="_blank">bmqt</a>
 </td>
 </tr>
 </table>

  </div>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="components.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="components.html"><span>Components</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacebmqpi.html">bmqpi</a>      </li>
      <li><a class="el" href="classbmqpi_1_1HostHealthMonitor.html">bmqpi::HostHealthMonitor</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>bmqpi::HostHealthMonitor Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="bmqpi::HostHealthMonitor" -->
<p><code>#include &lt;<a class="el" href="bmqpi__hosthealthmonitor_8h_source.html">bmqpi_hosthealthmonitor.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for bmqpi::HostHealthMonitor:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classbmqpi_1_1HostHealthMonitor.png" usemap="#bmqpi::HostHealthMonitor_map" alt=""/>
  <map id="bmqpi::HostHealthMonitor_map" name="bmqpi::HostHealthMonitor_map">
<area href="classbmqa_1_1ManualHostHealthMonitor.html" alt="bmqa::ManualHostHealthMonitor" shape="rect" coords="0,56,193,80"/>
</map>
</div>

<p><a href="classbmqpi_1_1HostHealthMonitor-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef bsl::function&lt; void(<a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">bmqt::HostHealthState::Enum</a>)&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqpi_1_1HostHealthMonitor.html#a628e575fc9e465ce753a43004d0cb85e">HostHealthChangeFn</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqpi_1_1HostHealthMonitor.html#afffac3cd4a3b428dc5e42d9c282dc6e0">~HostHealthMonitor</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bdlmt::SignalerConnection&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqpi_1_1HostHealthMonitor.html#aabfb2956ffa654c2b5bb7b16b8fa0028">observeHostHealth</a> (const <a class="el" href="classbmqpi_1_1HostHealthMonitor.html#a628e575fc9e465ce753a43004d0cb85e">HostHealthChangeFn</a> &amp;cb)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">bmqt::HostHealthState::Enum</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqpi_1_1HostHealthMonitor.html#a172f5c7108c1a6b0111f6794c4aa59a6">hostState</a> () const =0</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A pure interface for monitoring the health of the host.</p>
<p>See <a class="el" href="group__bmqpi__hosthealthmonitor.html">Component bmqpi_hosthealthmonitor</a> </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a628e575fc9e465ce753a43004d0cb85e"></a><!-- doxytag: member="bmqpi::HostHealthMonitor::HostHealthChangeFn" ref="a628e575fc9e465ce753a43004d0cb85e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef bsl::function&lt;void(<a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">bmqt::HostHealthState::Enum</a>)&gt; <a class="el" href="classbmqpi_1_1HostHealthMonitor.html#a628e575fc9e465ce753a43004d0cb85e">bmqpi::HostHealthMonitor::HostHealthChangeFn</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Invoked as a response to the <a class="el" href="classbmqpi_1_1HostHealthMonitor.html">HostHealthMonitor</a> detecting a change in the state of the host health. </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afffac3cd4a3b428dc5e42d9c282dc6e0"></a><!-- doxytag: member="bmqpi::HostHealthMonitor::~HostHealthMonitor" ref="afffac3cd4a3b428dc5e42d9c282dc6e0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bmqpi::HostHealthMonitor::~HostHealthMonitor </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aabfb2956ffa654c2b5bb7b16b8fa0028"></a><!-- doxytag: member="bmqpi::HostHealthMonitor::observeHostHealth" ref="aabfb2956ffa654c2b5bb7b16b8fa0028" args="(const HostHealthChangeFn &amp;cb)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bdlmt::SignalerConnection bmqpi::HostHealthMonitor::observeHostHealth </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqpi_1_1HostHealthMonitor.html#a628e575fc9e465ce753a43004d0cb85e">HostHealthChangeFn</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>cb</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Registers the specified `cb` to be invoked each time the health of the host changes. </p>

<p>Implemented in <a class="el" href="classbmqa_1_1ManualHostHealthMonitor.html#ad509c1768d1dcfd83ef35bbf3311b44e">bmqa::ManualHostHealthMonitor</a>.</p>

</div>
</div>
<a class="anchor" id="a172f5c7108c1a6b0111f6794c4aa59a6"></a><!-- doxytag: member="bmqpi::HostHealthMonitor::hostState" ref="a172f5c7108c1a6b0111f6794c4aa59a6" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">bmqt::HostHealthState::Enum</a> bmqpi::HostHealthMonitor::hostState </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Queries the current health of the host. </p>

<p>Implemented in <a class="el" href="classbmqa_1_1ManualHostHealthMonitor.html#a940d8cace0338d52dcf124b8856e9660">bmqa::ManualHostHealthMonitor</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="bmqpi__hosthealthmonitor_8h_source.html">bmqpi_hosthealthmonitor.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 15 2023 11:58:51 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
